/**
 * http://brucexx.iteye.com/
 */
package com.brucexx.wedding.model;

import javax.jdo.annotations.IdentityType;
import javax.jdo.annotations.PersistenceCapable;
import javax.jdo.annotations.Persistent;
import javax.jdo.annotations.PrimaryKey;

import com.google.appengine.api.datastore.Blob;

/**
 * @author BruceXX email:brucest0078@gmail.com
 * 
 */
@PersistenceCapable(identityType = IdentityType.APPLICATION)
public class PicStore {

	@PrimaryKey
	@Persistent
	private Long id;

	@Persistent(serialized = "true")
	private Blob picSnapShort;

	@Persistent(serialized = "true")
	private Blob shortContent;

	public Blob getPicSnapShort() {
		return picSnapShort;
	}

	public void setPicSnapShort(Blob picSnapShort) {
		this.picSnapShort = picSnapShort;
	}

	public Blob getShortContent() {
		return shortContent;
	}

	public void setShortContent(Blob shortContent) {
		this.shortContent = shortContent;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String toString() {
		return PicStore.class.getName() + "id[" + id + "]";
	}
}
